﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Header.ascx.cs" Inherits="SocialRede.Controls.Header" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:scriptmanager id="ScriptManager1" runat="server" />
<table cellpadding="1" cellspacing="1" width="100%">
    <tr>
        <td>
            <asp:imagebutton id="ImgLogo" runat="server" imageurl="~/MySiteLogo.JPG" causesvalidation="false"
                height="67px" width="183px" />
        </td>
        <td width="40%" align="right">
            Por Nome:&nbsp;<asp:textbox id="txtSearch" runat="server" width="170px"></asp:textbox>&nbsp;
            <cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" ServicePath="~/WebService.asmx"
                ServiceMethod="GetSearch" MinimumPrefixLength="1" TargetControlID="txtSearch">
            </cc1:AutoCompleteExtender>
            <asp:button id="btnSearch" runat="server" text="Procurar" onclick="btnSearch_Click"
                enableviewstate="false" causesvalidation="false" />
            <br />
            <br />
            <asp:linkbutton id="Login" runat="server" text="Login |" onclick="Login_Click" cssclass="BlueText"
                causesvalidation="false">
            </asp:linkbutton>
            <asp:linkbutton id="Logout" runat="server" text="Logout |" onclick="Logout_Click"
                cssclass="BlueText" causesvalidation="false">
            </asp:linkbutton>
            <asp:linkbutton id="MyProfile" runat="server" text="Meu Perfil" onclick="MyProfile_Click"
                causesvalidation="false" cssclass="BlueText">
            </asp:linkbutton>
        </td>
    </tr>
</table>
